package com.homedo.async.mysql.support.convertor.forfieldval;

import io.vertx.core.buffer.Buffer;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class BufferResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final BufferResultFieldValConvertor INSTANCE = new BufferResultFieldValConvertor();

    public static BufferResultFieldValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public Buffer convertor(Object columnVal) {
        return (Buffer) columnVal;
    }

}
